.class public Lcom/ocpsoft/pretty/time/Duration;
.super Ljava/lang/Object;
.source "Duration.java"


# instance fields
.field private delta:J

.field private quantity:J

.field private unit:Lcom/ocpsoft/pretty/time/TimeUnit;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 23
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public getDelta()J
    .locals 2

    .prologue
    .line 51
    iget-wide v0, p0, Lcom/ocpsoft/pretty/time/Duration;->delta:J

    return-wide v0
.end method

.method public getQuantity()J
    .locals 2

    .prologue
    .line 31
    iget-wide v0, p0, Lcom/ocpsoft/pretty/time/Duration;->quantity:J

    return-wide v0
.end method

.method public getUnit()Lcom/ocpsoft/pretty/time/TimeUnit;
    .locals 1

    .prologue
    .line 41
    iget-object v0, p0, Lcom/ocpsoft/pretty/time/Duration;->unit:Lcom/ocpsoft/pretty/time/TimeUnit;

    return-object v0
.end method

.method public setDelta(J)V
    .locals 0
    .parameter "delta"

    .prologue
    .line 56
    iput-wide p1, p0, Lcom/ocpsoft/pretty/time/Duration;->delta:J

    .line 57
    return-void
.end method

.method public setQuantity(J)V
    .locals 0
    .parameter "quantity"

    .prologue
    .line 36
    iput-wide p1, p0, Lcom/ocpsoft/pretty/time/Duration;->quantity:J

    .line 37
    return-void
.end method

.method public setUnit(Lcom/ocpsoft/pretty/time/TimeUnit;)V
    .locals 0
    .parameter "unit"

    .prologue
    .line 46
    iput-object p1, p0, Lcom/ocpsoft/pretty/time/Duration;->unit:Lcom/ocpsoft/pretty/time/TimeUnit;

    .line 47
    return-void
.end method
